﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Coldairarrow.Entity.PB
{
    /// <summary>
    /// PB_ShiftType
    /// </summary>
    [Table("PB_ShiftType")]
    public partial class PB_ShiftType
    {

        /// <summary>
        /// Id
        /// </summary>
        [Key, Column(Order = 1)]
        public String Id { get; set; }

        /// <summary>
        /// 编号
        /// </summary>
        public String Code { get; set; }

        /// <summary>
        /// 班别 //白班 夜班
        /// </summary>
        public String Name { get; set; }

        /// <summary>
        /// 上班时间
        /// </summary>
        public DateTime? Morningshifttime { get; set; }

        /// <summary>
        /// 下班时间
        /// </summary>
        public DateTime? Nightshifttime { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        public Boolean? Deleted { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public String CreatorId { get; set; }

        /// <summary>
        /// 车间编号
        /// </summary>
        public String WorkShopID { get; set; }
    }
}